﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;

namespace Updater.WCF.Service
{
    // NOTE: If you change the interface name "IService" here, you must also update the reference to "IService1" in Web.config.
    [ServiceContract]
    public interface IService
    {
        [OperationContract]
        string GetFileHashCode(string versionNumber);

        [OperationContract]
        Stream GetBinaryStream(string versionNumber);

        [OperationContract]
        string NameOfNewerVersion(string oldVersionName);

        [OperationContract]
        bool DoesVersionNumberMatchPattern(string VersionNumber);
    }

}
